package org.thread.test05.syn.homework.demo02.test02;

/**
 * @author CSY
 * @date 2025 - 03 - 12
 */
public class MainTest {
    public static void main(String[] args) {
        User zs = new User("张三","AAAA");
        User ls = new User("李四","BBBB");

        MyRannable mr1 = new MyRannable(zs);
        MyRannable mr2 = new MyRannable(ls);

        Thread t1 = new Thread(mr1);
        Thread t2 = new Thread(mr2);
        t1.start();
        t2.start();

    }
}
